package com.carp.springframework.beans.factory.support;

import com.carp.springframework.core.io.Resource;
import com.carp.springframework.core.io.ResourceLoader;

/**
 * @author lile
 * @date 2023/2/14
 */
public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource);

    void loadBeanDefinitions(Resource... resources);

    void loadBeanDefinitions(String location);

    void loadBeanDefinitions(String... locations);

}
